package com.cloudkinto.service.orderwork.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/6/18 9:30
 * @description:
 */
@Data
public class OrderWorkAddReq implements Serializable {
//    @NotNull(message = "请选择店铺")
    @ApiModelProperty("店铺")
    private Long shopId;

    @NotNull(message = "pls.chose.storage")
    @ApiModelProperty("仓库")
    private Long storageId;

    /**
     * 操作内容
     */
    @ApiModelProperty("操作内容")
    private String content;

    /**
     * 系统备注
     */
    @ApiModelProperty("系统备注")
    private String sysTips;

    @NotNull(message = "pls.choose.work.type")
    @ApiModelProperty("工单类型")
    private Long workType;

    @ApiModelProperty("附件id")
    private String[] fileId;

    @NotNull(message = "pls.choose.company")
    private Long companyId;

    //新增编辑暂时不需要
//    @NotEmpty(message = "请填写价格")
    private List<OrderWorkPriceAdd> priceAddList;

//    @NotEmpty(message = "请填写产品信息")
    private List<OrderWorkProductAdd> productAddList;


}
